<ul class="list-group">
    <li class="list-group-item {:$controllername=='invite'&&$actionname=='index'?'active':''}"><a href="{:url('index/invite/index')}"><i class="fa fa-users fa-fw"></i> {:__('邀请好友')}</a></li>
</ul>